use crate::error::Result;
use std::fs;

pub fn get_ddl(name: &str) -> Result<String> {
    let path = format!("./resource/ddl/{}.sql", name);
    let content = fs::read_to_string(path)?;
    Ok(content)
}
